Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartItemCollection Class / AddRange Method / AddRange(Object[]) Method
An array of objects representing the SmartItems to add to the end of the collection.


In This Topic
    AddRange(Object[]) Method
    In This Topic
    Adds each element of an object array to the end of the collection as a SmartItem.
    Syntax
    'Declaration
     
    Public Overloads Sub AddRange( _
       ByVal items() As Object _
    ) 
    'Usage
     
    Dim instance As SmartItemCollection
    Dim items() As Object
     
    instance.AddRange(items)
    public void AddRange( 
       object[] items
    )

    Parameters

    items
    An array of objects representing the SmartItems to add to the end of the collection.
    Remarks

    If an array item is a SmartItem, it will be added as is; otherwise a default SmartItem will be added and its Text property set to the result of ToString().

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also